package com.sto.stoapp.jpush;

import com.sto.stoapp.http.HttpManager;

/**
 * Created by wj on 2016-11-25.
 */

public class HttpGetFilter {

    //public static final String URL_FILTER="http://192.168.123.90:8080/mdmweb/waybill/waybillList.action?orgCode=";
    public static final String URL_FILTER="http://192.168.122.170:2225/mdmweb/waybill/waybillList.action?orgCode=";

    /**
     * 根据网点编号获取过滤单号列表
     * @param net
     */
    public static String getFilter(String net){

        if(net==null || "".equals(net)){
            return null;
        }

        String netUrl=URL_FILTER+net;
        HttpManager httpManager=new HttpManager();
        String result=httpManager.doGetClient(netUrl);
        if(result==null || "".equals(result)){
            return null;
        }

        return result;

    }

}
